﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Text;

namespace Thor.Common
{
    public class ProviderFile : IProviderFile
    {
        #region IProviderFile Members

        /// <summary>
        /// Name of the assembly.
        /// </summary>
        [Key]
        public string Name { get; set; }

        /// <summary>
        /// Path to the assembly.
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// Stream of the assembly.
        /// </summary>
        public Stream Stream { get; set; }

        /// <summary>
        /// Bytes of the file.
        /// </summary>
        public byte[] Bytes { get; set; }

        #endregion
    }
}
